package com.winteree.core.dao.entity;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class CmsSiteDOExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public CmsSiteDOExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Long value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Long value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Long value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Long value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Long value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Long value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Long> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Long> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Long value1, Long value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Long value1, Long value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andUuidIsNull() {
            addCriterion("uuid is null");
            return (Criteria) this;
        }

        public Criteria andUuidIsNotNull() {
            addCriterion("uuid is not null");
            return (Criteria) this;
        }

        public Criteria andUuidEqualTo(String value) {
            addCriterion("uuid =", value, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidNotEqualTo(String value) {
            addCriterion("uuid <>", value, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidGreaterThan(String value) {
            addCriterion("uuid >", value, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidGreaterThanOrEqualTo(String value) {
            addCriterion("uuid >=", value, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidLessThan(String value) {
            addCriterion("uuid <", value, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidLessThanOrEqualTo(String value) {
            addCriterion("uuid <=", value, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidLike(String value) {
            addCriterion("uuid like", value, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidNotLike(String value) {
            addCriterion("uuid not like", value, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidIn(List<String> values) {
            addCriterion("uuid in", values, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidNotIn(List<String> values) {
            addCriterion("uuid not in", values, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidBetween(String value1, String value2) {
            addCriterion("uuid between", value1, value2, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidNotBetween(String value1, String value2) {
            addCriterion("uuid not between", value1, value2, "uuid");
            return (Criteria) this;
        }

        public Criteria andTenantUuidIsNull() {
            addCriterion("tenant_uuid is null");
            return (Criteria) this;
        }

        public Criteria andTenantUuidIsNotNull() {
            addCriterion("tenant_uuid is not null");
            return (Criteria) this;
        }

        public Criteria andTenantUuidEqualTo(String value) {
            addCriterion("tenant_uuid =", value, "tenantUuid");
            return (Criteria) this;
        }

        public Criteria andTenantUuidNotEqualTo(String value) {
            addCriterion("tenant_uuid <>", value, "tenantUuid");
            return (Criteria) this;
        }

        public Criteria andTenantUuidGreaterThan(String value) {
            addCriterion("tenant_uuid >", value, "tenantUuid");
            return (Criteria) this;
        }

        public Criteria andTenantUuidGreaterThanOrEqualTo(String value) {
            addCriterion("tenant_uuid >=", value, "tenantUuid");
            return (Criteria) this;
        }

        public Criteria andTenantUuidLessThan(String value) {
            addCriterion("tenant_uuid <", value, "tenantUuid");
            return (Criteria) this;
        }

        public Criteria andTenantUuidLessThanOrEqualTo(String value) {
            addCriterion("tenant_uuid <=", value, "tenantUuid");
            return (Criteria) this;
        }

        public Criteria andTenantUuidLike(String value) {
            addCriterion("tenant_uuid like", value, "tenantUuid");
            return (Criteria) this;
        }

        public Criteria andTenantUuidNotLike(String value) {
            addCriterion("tenant_uuid not like", value, "tenantUuid");
            return (Criteria) this;
        }

        public Criteria andTenantUuidIn(List<String> values) {
            addCriterion("tenant_uuid in", values, "tenantUuid");
            return (Criteria) this;
        }

        public Criteria andTenantUuidNotIn(List<String> values) {
            addCriterion("tenant_uuid not in", values, "tenantUuid");
            return (Criteria) this;
        }

        public Criteria andTenantUuidBetween(String value1, String value2) {
            addCriterion("tenant_uuid between", value1, value2, "tenantUuid");
            return (Criteria) this;
        }

        public Criteria andTenantUuidNotBetween(String value1, String value2) {
            addCriterion("tenant_uuid not between", value1, value2, "tenantUuid");
            return (Criteria) this;
        }

        public Criteria andOfficeUuidIsNull() {
            addCriterion("office_uuid is null");
            return (Criteria) this;
        }

        public Criteria andOfficeUuidIsNotNull() {
            addCriterion("office_uuid is not null");
            return (Criteria) this;
        }

        public Criteria andOfficeUuidEqualTo(String value) {
            addCriterion("office_uuid =", value, "officeUuid");
            return (Criteria) this;
        }

        public Criteria andOfficeUuidNotEqualTo(String value) {
            addCriterion("office_uuid <>", value, "officeUuid");
            return (Criteria) this;
        }

        public Criteria andOfficeUuidGreaterThan(String value) {
            addCriterion("office_uuid >", value, "officeUuid");
            return (Criteria) this;
        }

        public Criteria andOfficeUuidGreaterThanOrEqualTo(String value) {
            addCriterion("office_uuid >=", value, "officeUuid");
            return (Criteria) this;
        }

        public Criteria andOfficeUuidLessThan(String value) {
            addCriterion("office_uuid <", value, "officeUuid");
            return (Criteria) this;
        }

        public Criteria andOfficeUuidLessThanOrEqualTo(String value) {
            addCriterion("office_uuid <=", value, "officeUuid");
            return (Criteria) this;
        }

        public Criteria andOfficeUuidLike(String value) {
            addCriterion("office_uuid like", value, "officeUuid");
            return (Criteria) this;
        }

        public Criteria andOfficeUuidNotLike(String value) {
            addCriterion("office_uuid not like", value, "officeUuid");
            return (Criteria) this;
        }

        public Criteria andOfficeUuidIn(List<String> values) {
            addCriterion("office_uuid in", values, "officeUuid");
            return (Criteria) this;
        }

        public Criteria andOfficeUuidNotIn(List<String> values) {
            addCriterion("office_uuid not in", values, "officeUuid");
            return (Criteria) this;
        }

        public Criteria andOfficeUuidBetween(String value1, String value2) {
            addCriterion("office_uuid between", value1, value2, "officeUuid");
            return (Criteria) this;
        }

        public Criteria andOfficeUuidNotBetween(String value1, String value2) {
            addCriterion("office_uuid not between", value1, value2, "officeUuid");
            return (Criteria) this;
        }

        public Criteria andDepartmentUuidIsNull() {
            addCriterion("department_uuid is null");
            return (Criteria) this;
        }

        public Criteria andDepartmentUuidIsNotNull() {
            addCriterion("department_uuid is not null");
            return (Criteria) this;
        }

        public Criteria andDepartmentUuidEqualTo(String value) {
            addCriterion("department_uuid =", value, "departmentUuid");
            return (Criteria) this;
        }

        public Criteria andDepartmentUuidNotEqualTo(String value) {
            addCriterion("department_uuid <>", value, "departmentUuid");
            return (Criteria) this;
        }

        public Criteria andDepartmentUuidGreaterThan(String value) {
            addCriterion("department_uuid >", value, "departmentUuid");
            return (Criteria) this;
        }

        public Criteria andDepartmentUuidGreaterThanOrEqualTo(String value) {
            addCriterion("department_uuid >=", value, "departmentUuid");
            return (Criteria) this;
        }

        public Criteria andDepartmentUuidLessThan(String value) {
            addCriterion("department_uuid <", value, "departmentUuid");
            return (Criteria) this;
        }

        public Criteria andDepartmentUuidLessThanOrEqualTo(String value) {
            addCriterion("department_uuid <=", value, "departmentUuid");
            return (Criteria) this;
        }

        public Criteria andDepartmentUuidLike(String value) {
            addCriterion("department_uuid like", value, "departmentUuid");
            return (Criteria) this;
        }

        public Criteria andDepartmentUuidNotLike(String value) {
            addCriterion("department_uuid not like", value, "departmentUuid");
            return (Criteria) this;
        }

        public Criteria andDepartmentUuidIn(List<String> values) {
            addCriterion("department_uuid in", values, "departmentUuid");
            return (Criteria) this;
        }

        public Criteria andDepartmentUuidNotIn(List<String> values) {
            addCriterion("department_uuid not in", values, "departmentUuid");
            return (Criteria) this;
        }

        public Criteria andDepartmentUuidBetween(String value1, String value2) {
            addCriterion("department_uuid between", value1, value2, "departmentUuid");
            return (Criteria) this;
        }

        public Criteria andDepartmentUuidNotBetween(String value1, String value2) {
            addCriterion("department_uuid not between", value1, value2, "departmentUuid");
            return (Criteria) this;
        }

        public Criteria andSiteNameIsNull() {
            addCriterion("site_name is null");
            return (Criteria) this;
        }

        public Criteria andSiteNameIsNotNull() {
            addCriterion("site_name is not null");
            return (Criteria) this;
        }

        public Criteria andSiteNameEqualTo(String value) {
            addCriterion("site_name =", value, "siteName");
            return (Criteria) this;
        }

        public Criteria andSiteNameNotEqualTo(String value) {
            addCriterion("site_name <>", value, "siteName");
            return (Criteria) this;
        }

        public Criteria andSiteNameGreaterThan(String value) {
            addCriterion("site_name >", value, "siteName");
            return (Criteria) this;
        }

        public Criteria andSiteNameGreaterThanOrEqualTo(String value) {
            addCriterion("site_name >=", value, "siteName");
            return (Criteria) this;
        }

        public Criteria andSiteNameLessThan(String value) {
            addCriterion("site_name <", value, "siteName");
            return (Criteria) this;
        }

        public Criteria andSiteNameLessThanOrEqualTo(String value) {
            addCriterion("site_name <=", value, "siteName");
            return (Criteria) this;
        }

        public Criteria andSiteNameLike(String value) {
            addCriterion("site_name like", value, "siteName");
            return (Criteria) this;
        }

        public Criteria andSiteNameNotLike(String value) {
            addCriterion("site_name not like", value, "siteName");
            return (Criteria) this;
        }

        public Criteria andSiteNameIn(List<String> values) {
            addCriterion("site_name in", values, "siteName");
            return (Criteria) this;
        }

        public Criteria andSiteNameNotIn(List<String> values) {
            addCriterion("site_name not in", values, "siteName");
            return (Criteria) this;
        }

        public Criteria andSiteNameBetween(String value1, String value2) {
            addCriterion("site_name between", value1, value2, "siteName");
            return (Criteria) this;
        }

        public Criteria andSiteNameNotBetween(String value1, String value2) {
            addCriterion("site_name not between", value1, value2, "siteName");
            return (Criteria) this;
        }

        public Criteria andSiteDomainIsNull() {
            addCriterion("site_domain is null");
            return (Criteria) this;
        }

        public Criteria andSiteDomainIsNotNull() {
            addCriterion("site_domain is not null");
            return (Criteria) this;
        }

        public Criteria andSiteDomainEqualTo(String value) {
            addCriterion("site_domain =", value, "siteDomain");
            return (Criteria) this;
        }

        public Criteria andSiteDomainNotEqualTo(String value) {
            addCriterion("site_domain <>", value, "siteDomain");
            return (Criteria) this;
        }

        public Criteria andSiteDomainGreaterThan(String value) {
            addCriterion("site_domain >", value, "siteDomain");
            return (Criteria) this;
        }

        public Criteria andSiteDomainGreaterThanOrEqualTo(String value) {
            addCriterion("site_domain >=", value, "siteDomain");
            return (Criteria) this;
        }

        public Criteria andSiteDomainLessThan(String value) {
            addCriterion("site_domain <", value, "siteDomain");
            return (Criteria) this;
        }

        public Criteria andSiteDomainLessThanOrEqualTo(String value) {
            addCriterion("site_domain <=", value, "siteDomain");
            return (Criteria) this;
        }

        public Criteria andSiteDomainLike(String value) {
            addCriterion("site_domain like", value, "siteDomain");
            return (Criteria) this;
        }

        public Criteria andSiteDomainNotLike(String value) {
            addCriterion("site_domain not like", value, "siteDomain");
            return (Criteria) this;
        }

        public Criteria andSiteDomainIn(List<String> values) {
            addCriterion("site_domain in", values, "siteDomain");
            return (Criteria) this;
        }

        public Criteria andSiteDomainNotIn(List<String> values) {
            addCriterion("site_domain not in", values, "siteDomain");
            return (Criteria) this;
        }

        public Criteria andSiteDomainBetween(String value1, String value2) {
            addCriterion("site_domain between", value1, value2, "siteDomain");
            return (Criteria) this;
        }

        public Criteria andSiteDomainNotBetween(String value1, String value2) {
            addCriterion("site_domain not between", value1, value2, "siteDomain");
            return (Criteria) this;
        }

        public Criteria andSiteKeywordIsNull() {
            addCriterion("site_keyword is null");
            return (Criteria) this;
        }

        public Criteria andSiteKeywordIsNotNull() {
            addCriterion("site_keyword is not null");
            return (Criteria) this;
        }

        public Criteria andSiteKeywordEqualTo(String value) {
            addCriterion("site_keyword =", value, "siteKeyword");
            return (Criteria) this;
        }

        public Criteria andSiteKeywordNotEqualTo(String value) {
            addCriterion("site_keyword <>", value, "siteKeyword");
            return (Criteria) this;
        }

        public Criteria andSiteKeywordGreaterThan(String value) {
            addCriterion("site_keyword >", value, "siteKeyword");
            return (Criteria) this;
        }

        public Criteria andSiteKeywordGreaterThanOrEqualTo(String value) {
            addCriterion("site_keyword >=", value, "siteKeyword");
            return (Criteria) this;
        }

        public Criteria andSiteKeywordLessThan(String value) {
            addCriterion("site_keyword <", value, "siteKeyword");
            return (Criteria) this;
        }

        public Criteria andSiteKeywordLessThanOrEqualTo(String value) {
            addCriterion("site_keyword <=", value, "siteKeyword");
            return (Criteria) this;
        }

        public Criteria andSiteKeywordLike(String value) {
            addCriterion("site_keyword like", value, "siteKeyword");
            return (Criteria) this;
        }

        public Criteria andSiteKeywordNotLike(String value) {
            addCriterion("site_keyword not like", value, "siteKeyword");
            return (Criteria) this;
        }

        public Criteria andSiteKeywordIn(List<String> values) {
            addCriterion("site_keyword in", values, "siteKeyword");
            return (Criteria) this;
        }

        public Criteria andSiteKeywordNotIn(List<String> values) {
            addCriterion("site_keyword not in", values, "siteKeyword");
            return (Criteria) this;
        }

        public Criteria andSiteKeywordBetween(String value1, String value2) {
            addCriterion("site_keyword between", value1, value2, "siteKeyword");
            return (Criteria) this;
        }

        public Criteria andSiteKeywordNotBetween(String value1, String value2) {
            addCriterion("site_keyword not between", value1, value2, "siteKeyword");
            return (Criteria) this;
        }

        public Criteria andSiteDescriptionIsNull() {
            addCriterion("site_description is null");
            return (Criteria) this;
        }

        public Criteria andSiteDescriptionIsNotNull() {
            addCriterion("site_description is not null");
            return (Criteria) this;
        }

        public Criteria andSiteDescriptionEqualTo(String value) {
            addCriterion("site_description =", value, "siteDescription");
            return (Criteria) this;
        }

        public Criteria andSiteDescriptionNotEqualTo(String value) {
            addCriterion("site_description <>", value, "siteDescription");
            return (Criteria) this;
        }

        public Criteria andSiteDescriptionGreaterThan(String value) {
            addCriterion("site_description >", value, "siteDescription");
            return (Criteria) this;
        }

        public Criteria andSiteDescriptionGreaterThanOrEqualTo(String value) {
            addCriterion("site_description >=", value, "siteDescription");
            return (Criteria) this;
        }

        public Criteria andSiteDescriptionLessThan(String value) {
            addCriterion("site_description <", value, "siteDescription");
            return (Criteria) this;
        }

        public Criteria andSiteDescriptionLessThanOrEqualTo(String value) {
            addCriterion("site_description <=", value, "siteDescription");
            return (Criteria) this;
        }

        public Criteria andSiteDescriptionLike(String value) {
            addCriterion("site_description like", value, "siteDescription");
            return (Criteria) this;
        }

        public Criteria andSiteDescriptionNotLike(String value) {
            addCriterion("site_description not like", value, "siteDescription");
            return (Criteria) this;
        }

        public Criteria andSiteDescriptionIn(List<String> values) {
            addCriterion("site_description in", values, "siteDescription");
            return (Criteria) this;
        }

        public Criteria andSiteDescriptionNotIn(List<String> values) {
            addCriterion("site_description not in", values, "siteDescription");
            return (Criteria) this;
        }

        public Criteria andSiteDescriptionBetween(String value1, String value2) {
            addCriterion("site_description between", value1, value2, "siteDescription");
            return (Criteria) this;
        }

        public Criteria andSiteDescriptionNotBetween(String value1, String value2) {
            addCriterion("site_description not between", value1, value2, "siteDescription");
            return (Criteria) this;
        }

        public Criteria andIcpNoIsNull() {
            addCriterion("icp_no is null");
            return (Criteria) this;
        }

        public Criteria andIcpNoIsNotNull() {
            addCriterion("icp_no is not null");
            return (Criteria) this;
        }

        public Criteria andIcpNoEqualTo(String value) {
            addCriterion("icp_no =", value, "icpNo");
            return (Criteria) this;
        }

        public Criteria andIcpNoNotEqualTo(String value) {
            addCriterion("icp_no <>", value, "icpNo");
            return (Criteria) this;
        }

        public Criteria andIcpNoGreaterThan(String value) {
            addCriterion("icp_no >", value, "icpNo");
            return (Criteria) this;
        }

        public Criteria andIcpNoGreaterThanOrEqualTo(String value) {
            addCriterion("icp_no >=", value, "icpNo");
            return (Criteria) this;
        }

        public Criteria andIcpNoLessThan(String value) {
            addCriterion("icp_no <", value, "icpNo");
            return (Criteria) this;
        }

        public Criteria andIcpNoLessThanOrEqualTo(String value) {
            addCriterion("icp_no <=", value, "icpNo");
            return (Criteria) this;
        }

        public Criteria andIcpNoLike(String value) {
            addCriterion("icp_no like", value, "icpNo");
            return (Criteria) this;
        }

        public Criteria andIcpNoNotLike(String value) {
            addCriterion("icp_no not like", value, "icpNo");
            return (Criteria) this;
        }

        public Criteria andIcpNoIn(List<String> values) {
            addCriterion("icp_no in", values, "icpNo");
            return (Criteria) this;
        }

        public Criteria andIcpNoNotIn(List<String> values) {
            addCriterion("icp_no not in", values, "icpNo");
            return (Criteria) this;
        }

        public Criteria andIcpNoBetween(String value1, String value2) {
            addCriterion("icp_no between", value1, value2, "icpNo");
            return (Criteria) this;
        }

        public Criteria andIcpNoNotBetween(String value1, String value2) {
            addCriterion("icp_no not between", value1, value2, "icpNo");
            return (Criteria) this;
        }

        public Criteria andIsCommentIsNull() {
            addCriterion("is_comment is null");
            return (Criteria) this;
        }

        public Criteria andIsCommentIsNotNull() {
            addCriterion("is_comment is not null");
            return (Criteria) this;
        }

        public Criteria andIsCommentEqualTo(Boolean value) {
            addCriterion("is_comment =", value, "isComment");
            return (Criteria) this;
        }

        public Criteria andIsCommentNotEqualTo(Boolean value) {
            addCriterion("is_comment <>", value, "isComment");
            return (Criteria) this;
        }

        public Criteria andIsCommentGreaterThan(Boolean value) {
            addCriterion("is_comment >", value, "isComment");
            return (Criteria) this;
        }

        public Criteria andIsCommentGreaterThanOrEqualTo(Boolean value) {
            addCriterion("is_comment >=", value, "isComment");
            return (Criteria) this;
        }

        public Criteria andIsCommentLessThan(Boolean value) {
            addCriterion("is_comment <", value, "isComment");
            return (Criteria) this;
        }

        public Criteria andIsCommentLessThanOrEqualTo(Boolean value) {
            addCriterion("is_comment <=", value, "isComment");
            return (Criteria) this;
        }

        public Criteria andIsCommentIn(List<Boolean> values) {
            addCriterion("is_comment in", values, "isComment");
            return (Criteria) this;
        }

        public Criteria andIsCommentNotIn(List<Boolean> values) {
            addCriterion("is_comment not in", values, "isComment");
            return (Criteria) this;
        }

        public Criteria andIsCommentBetween(Boolean value1, Boolean value2) {
            addCriterion("is_comment between", value1, value2, "isComment");
            return (Criteria) this;
        }

        public Criteria andIsCommentNotBetween(Boolean value1, Boolean value2) {
            addCriterion("is_comment not between", value1, value2, "isComment");
            return (Criteria) this;
        }

        public Criteria andGonganNoIsNull() {
            addCriterion("gongan_no is null");
            return (Criteria) this;
        }

        public Criteria andGonganNoIsNotNull() {
            addCriterion("gongan_no is not null");
            return (Criteria) this;
        }

        public Criteria andGonganNoEqualTo(String value) {
            addCriterion("gongan_no =", value, "gonganNo");
            return (Criteria) this;
        }

        public Criteria andGonganNoNotEqualTo(String value) {
            addCriterion("gongan_no <>", value, "gonganNo");
            return (Criteria) this;
        }

        public Criteria andGonganNoGreaterThan(String value) {
            addCriterion("gongan_no >", value, "gonganNo");
            return (Criteria) this;
        }

        public Criteria andGonganNoGreaterThanOrEqualTo(String value) {
            addCriterion("gongan_no >=", value, "gonganNo");
            return (Criteria) this;
        }

        public Criteria andGonganNoLessThan(String value) {
            addCriterion("gongan_no <", value, "gonganNo");
            return (Criteria) this;
        }

        public Criteria andGonganNoLessThanOrEqualTo(String value) {
            addCriterion("gongan_no <=", value, "gonganNo");
            return (Criteria) this;
        }

        public Criteria andGonganNoLike(String value) {
            addCriterion("gongan_no like", value, "gonganNo");
            return (Criteria) this;
        }

        public Criteria andGonganNoNotLike(String value) {
            addCriterion("gongan_no not like", value, "gonganNo");
            return (Criteria) this;
        }

        public Criteria andGonganNoIn(List<String> values) {
            addCriterion("gongan_no in", values, "gonganNo");
            return (Criteria) this;
        }

        public Criteria andGonganNoNotIn(List<String> values) {
            addCriterion("gongan_no not in", values, "gonganNo");
            return (Criteria) this;
        }

        public Criteria andGonganNoBetween(String value1, String value2) {
            addCriterion("gongan_no between", value1, value2, "gonganNo");
            return (Criteria) this;
        }

        public Criteria andGonganNoNotBetween(String value1, String value2) {
            addCriterion("gongan_no not between", value1, value2, "gonganNo");
            return (Criteria) this;
        }

        public Criteria andAnalysisCodeIsNull() {
            addCriterion("analysis_code is null");
            return (Criteria) this;
        }

        public Criteria andAnalysisCodeIsNotNull() {
            addCriterion("analysis_code is not null");
            return (Criteria) this;
        }

        public Criteria andAnalysisCodeEqualTo(String value) {
            addCriterion("analysis_code =", value, "analysisCode");
            return (Criteria) this;
        }

        public Criteria andAnalysisCodeNotEqualTo(String value) {
            addCriterion("analysis_code <>", value, "analysisCode");
            return (Criteria) this;
        }

        public Criteria andAnalysisCodeGreaterThan(String value) {
            addCriterion("analysis_code >", value, "analysisCode");
            return (Criteria) this;
        }

        public Criteria andAnalysisCodeGreaterThanOrEqualTo(String value) {
            addCriterion("analysis_code >=", value, "analysisCode");
            return (Criteria) this;
        }

        public Criteria andAnalysisCodeLessThan(String value) {
            addCriterion("analysis_code <", value, "analysisCode");
            return (Criteria) this;
        }

        public Criteria andAnalysisCodeLessThanOrEqualTo(String value) {
            addCriterion("analysis_code <=", value, "analysisCode");
            return (Criteria) this;
        }

        public Criteria andAnalysisCodeLike(String value) {
            addCriterion("analysis_code like", value, "analysisCode");
            return (Criteria) this;
        }

        public Criteria andAnalysisCodeNotLike(String value) {
            addCriterion("analysis_code not like", value, "analysisCode");
            return (Criteria) this;
        }

        public Criteria andAnalysisCodeIn(List<String> values) {
            addCriterion("analysis_code in", values, "analysisCode");
            return (Criteria) this;
        }

        public Criteria andAnalysisCodeNotIn(List<String> values) {
            addCriterion("analysis_code not in", values, "analysisCode");
            return (Criteria) this;
        }

        public Criteria andAnalysisCodeBetween(String value1, String value2) {
            addCriterion("analysis_code between", value1, value2, "analysisCode");
            return (Criteria) this;
        }

        public Criteria andAnalysisCodeNotBetween(String value1, String value2) {
            addCriterion("analysis_code not between", value1, value2, "analysisCode");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("create_time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("create_time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("create_time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("create_time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("create_time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("create_time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("create_time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("create_time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("create_time not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateByIsNull() {
            addCriterion("create_by is null");
            return (Criteria) this;
        }

        public Criteria andCreateByIsNotNull() {
            addCriterion("create_by is not null");
            return (Criteria) this;
        }

        public Criteria andCreateByEqualTo(String value) {
            addCriterion("create_by =", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByNotEqualTo(String value) {
            addCriterion("create_by <>", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByGreaterThan(String value) {
            addCriterion("create_by >", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByGreaterThanOrEqualTo(String value) {
            addCriterion("create_by >=", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByLessThan(String value) {
            addCriterion("create_by <", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByLessThanOrEqualTo(String value) {
            addCriterion("create_by <=", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByLike(String value) {
            addCriterion("create_by like", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByNotLike(String value) {
            addCriterion("create_by not like", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByIn(List<String> values) {
            addCriterion("create_by in", values, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByNotIn(List<String> values) {
            addCriterion("create_by not in", values, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByBetween(String value1, String value2) {
            addCriterion("create_by between", value1, value2, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByNotBetween(String value1, String value2) {
            addCriterion("create_by not between", value1, value2, "createBy");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNull() {
            addCriterion("update_time is null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNotNull() {
            addCriterion("update_time is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualTo(Date value) {
            addCriterion("update_time =", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualTo(Date value) {
            addCriterion("update_time <>", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThan(Date value) {
            addCriterion("update_time >", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("update_time >=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThan(Date value) {
            addCriterion("update_time <", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
            addCriterion("update_time <=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIn(List<Date> values) {
            addCriterion("update_time in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotIn(List<Date> values) {
            addCriterion("update_time not in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeBetween(Date value1, Date value2) {
            addCriterion("update_time between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
            addCriterion("update_time not between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateByIsNull() {
            addCriterion("update_by is null");
            return (Criteria) this;
        }

        public Criteria andUpdateByIsNotNull() {
            addCriterion("update_by is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateByEqualTo(String value) {
            addCriterion("update_by =", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByNotEqualTo(String value) {
            addCriterion("update_by <>", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByGreaterThan(String value) {
            addCriterion("update_by >", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByGreaterThanOrEqualTo(String value) {
            addCriterion("update_by >=", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByLessThan(String value) {
            addCriterion("update_by <", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByLessThanOrEqualTo(String value) {
            addCriterion("update_by <=", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByLike(String value) {
            addCriterion("update_by like", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByNotLike(String value) {
            addCriterion("update_by not like", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByIn(List<String> values) {
            addCriterion("update_by in", values, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByNotIn(List<String> values) {
            addCriterion("update_by not in", values, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByBetween(String value1, String value2) {
            addCriterion("update_by between", value1, value2, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByNotBetween(String value1, String value2) {
            addCriterion("update_by not between", value1, value2, "updateBy");
            return (Criteria) this;
        }

        public Criteria andSiteEnableIsNull() {
            addCriterion("site_enable is null");
            return (Criteria) this;
        }

        public Criteria andSiteEnableIsNotNull() {
            addCriterion("site_enable is not null");
            return (Criteria) this;
        }

        public Criteria andSiteEnableEqualTo(Boolean value) {
            addCriterion("site_enable =", value, "siteEnable");
            return (Criteria) this;
        }

        public Criteria andSiteEnableNotEqualTo(Boolean value) {
            addCriterion("site_enable <>", value, "siteEnable");
            return (Criteria) this;
        }

        public Criteria andSiteEnableGreaterThan(Boolean value) {
            addCriterion("site_enable >", value, "siteEnable");
            return (Criteria) this;
        }

        public Criteria andSiteEnableGreaterThanOrEqualTo(Boolean value) {
            addCriterion("site_enable >=", value, "siteEnable");
            return (Criteria) this;
        }

        public Criteria andSiteEnableLessThan(Boolean value) {
            addCriterion("site_enable <", value, "siteEnable");
            return (Criteria) this;
        }

        public Criteria andSiteEnableLessThanOrEqualTo(Boolean value) {
            addCriterion("site_enable <=", value, "siteEnable");
            return (Criteria) this;
        }

        public Criteria andSiteEnableIn(List<Boolean> values) {
            addCriterion("site_enable in", values, "siteEnable");
            return (Criteria) this;
        }

        public Criteria andSiteEnableNotIn(List<Boolean> values) {
            addCriterion("site_enable not in", values, "siteEnable");
            return (Criteria) this;
        }

        public Criteria andSiteEnableBetween(Boolean value1, Boolean value2) {
            addCriterion("site_enable between", value1, value2, "siteEnable");
            return (Criteria) this;
        }

        public Criteria andSiteEnableNotBetween(Boolean value1, Boolean value2) {
            addCriterion("site_enable not between", value1, value2, "siteEnable");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}